package org.opsli.api.web.business.app;

import org.opsli.api.base.result.ResultVo;
import org.opsli.api.wrapper.business.signRecord.SignRecordModel;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

public interface AppApi {

    /** 标题 */
    String TITLE = "app签到记录";
    /** 子标题 */
    String SUB_TITLE = "app签到记录";

    /**
     * 签到记录 查一条
     * @param model 模型
     * @return ResultVo
     */
    @GetMapping("/getSignRecordByName")
    ResultVo<?> getSignRecordByName(SignRecordModel model);



    /**
     * 签到记录 新增
     * @param model 模型
     * @return ResultVo
     */
    @PostMapping("/appSignIn")
    ResultVo<?> appSignIn(@RequestBody SignRecordModel model);

}
